package com.by.client;

import com.by.bean.PayResponse;

public interface PaymentClient {
    // 通用支付方法
    PayResponse unifiedOrder(Double amount, String tradeSn);

    // 新增网页支付专用方法
    default String createWebPayment(String orderSn, Double amount, String notifyUrl) {
        throw new UnsupportedOperationException("网页支付不支持该操作");
    }
}
